
##利用常见的格式符

import string
from unicodedata import name


name='小吴'
age =18
address='新加坡'
print('我叫%s,今年%d岁了，来自%s。'%(name,age,address))

string='我叫{},今年{}岁了，来自{}。'
print(string.format (name,age,address))

string='我叫{1},今年{0}岁了，来自{2}。'
print(string.format(age,name,address))
